package com.tensquare.article.service;


import com.tensquare.article.pojo.Article;
import com.tensquare.article.pojo.Comment;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author BAO
 * @version V1.0
 * @Package com.tensquare.article.service
 * @date 2020/12/3 19:31
 * @description:
 */
public interface CommentService {

    Comment findById(String id);

    Page<Comment> findAll();

     Comment save(Comment comment);

     Comment update(Comment comment);

     void deleteById(String id);

     List<Comment> findByarticleId(String articleId);

     void  getThumbup(String id);
}
